@@ -24,3 +24,4 @@ deployment/cookbooks |
||
24 | 24 |
.*un~ |
25 | 25 |
.ruby-gemset |
26 | 26 |
.ruby-version |
27 |
+manifest.yml |
@@ -0,0 +1,2 @@ |
||
1 |
+web: bundle exec rake db:migrate && bundle exec rails server -p $PORT |
|
2 |
+jobs: bundle exec rails runner bin/threaded.rb |
@@ -0,0 +1,12 @@ |
||
1 |
+## This file is used for deployment to cloudfoundry. |
|
2 |
+ |
|
3 |
+--- |
|
4 |
+applications: |
|
5 |
+- name: huginn |
|
6 |
+ url: <app-url> |
|
7 |
+ path: . |
|
8 |
+ memory: 512M |
|
9 |
+ command: nohup foreman start --procfile Procfile.CF |
|
10 |
+ instances: 1 |
|
11 |
+ services: |
|
12 |
+ - huginn-db |